#ifndef PHDIALOGS_H
#define PHDIALOGS_H

#include <QStackedWidget>

namespace Ui {
    class PhDialogs;
}

class PhDialogs : public QStackedWidget
{
    Q_OBJECT

public:
    enum simCard{SIM1,SIM2};
    explicit PhDialogs(QWidget *parent = 0);
    ~PhDialogs();
    void setView(int view, QString text, int timeout);
    void setStudentName(QString mName);

public slots:
    void pushButtonCancelCopySIM_clicked();
    void timeoutDialog();

private:
    Ui::PhDialogs *ui;
signals:
    void setSim(PhDialogs::simCard);
    void changeSIM();
    void cancle();

private slots:

    void on_changeSim_clicked();
    void on_Sim2_clicked();
    void on_Sim1_clicked();

    void on_pushButton_cancelCopySIM_4_clicked();
    void on_pushButton_cancelCopySIM_3_clicked();
    void on_pushButton_cancelCopySIM_2_clicked();
};

#endif // PHDIALOGS_H
